#ifndef NOTEADDDIALOG_H
#define NOTEADDDIALOG_H

#include <QDialog>
#include <Note.h>

namespace Ui {
class NoteAddDialog;
}

class NoteAddDialog : public QDialog
{
	Q_OBJECT
	Note* _note;

	Ui::NoteAddDialog *ui;
	
public:
	explicit NoteAddDialog(Note* note = 0, QWidget *parent = 0);
	~NoteAddDialog();
	
	Note* getNote();

public slots:
	void onAddNote();
	void onDataChanged();
};

#endif // NOTEADDDIALOG_H
